package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;
import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BCyberBaseTaskPic;

public interface ICyberBaseTaskPicDao {

	public Long addPic(BCyberBaseTaskPic pic) throws SQLException;

	public void updatePic(BCyberBaseTaskPic pic) throws SQLException;

	public int deletePic(String pic);

	public BCyberBaseTaskPic getPic(String picId);

	public BCyberBaseTaskPic getPicByCode(String code) throws SQLException;

	public PageData<BCyberBaseTaskPic> getPicList(int pageNum, int pageSize, String hql, Object[] params,
			LinkedHashMap<String, String> picMap) throws SQLException;

	public List getPicListByHql(int pageNum, int pageSize, String hql, Object[] params) throws SQLException;

}
